package com.tuoyu.peopletest.entity.message;


import com.blankj.utilcode.util.NetworkUtils;

/**
 * 事件总线EventBus
 * 数据传递实体类
 * 网络变化监听
 */
public class NetWorkMessageEvent {

    /**
     * 网络连接上
     */

    //网络连接上
    public boolean isNetConnected;
    public NetworkUtils.NetworkType networkType;
    public NetWorkMessageEvent setNetChange(boolean isNetConnected, NetworkUtils.NetworkType networkType){
        this.isNetConnected = isNetConnected;
        this.networkType = networkType;
        return this;
    }

}
